// 菜单项配置
const adminMenu = [
    {
        path: "/User",
        icon: "User",
        title: "人员管理",
        children: [
            {
                path: "/User",
                icon: "User",
                title: "人员管理",
            },
            {
                path: "/Role",
                icon: "User",
                title: "角色管理",
            },
            {
                path: "/Permission",
                icon: "User",
                title: "权限管理",
                children: [
                    {
                        path: "/Permission",
                        icon: "User",
                        title: "权限管理",
                    },
                    {
                        path: "/RoleMeans",
                        icon: "User",
                        title: "角色权限",
                    },
                    {
                        path: "/PermissionMeans",
                        icon: "User",
                        title: "权限说明",
                    }
                ]
            }
        ]
    },
    {
        path: "/DownloadFile",
        icon: "Download",
        title: "下载课件/视频",
    }
];

const studentMenu = [
    {
        path: "/DownloadFile",
        icon: "Download",
        title: "下载课件/视频",
        children: [
            {
                path: "/Courseware",
                icon: "File",
                title: "课件",
            },
            {
                path: "/Video",
                icon: "Video",
                title: "视频",
            }
        ]
    },
    {
        path: "/TopicList",
        icon: "Document",
        title: "题目",
    },
    {
        path: "/MessageList",
        icon: "Message",
        title: "留言板",
    },
];

const teacherMenu = [
    {
        path: "/ReleaseTopic",
        icon: "Document",
        title: "发布题目",
    },
    {
        path: "/MessageList",
        icon: "Message",
        title: "留言板",
    },
    {
        path: "/UploadFile",
        icon: "Promotion",
        title: "发布课件/视频",
        children: [
            {
                path: "/UploadCourseware",
                icon: "File",
                title: "上传课件",
            },
            {
                path: "/UploadVideo",
                icon: "Video",
                title: "上传视频",
            }
        ]
    },
];
const defaultMean = [{
    path: '/',
    icon: 'HomeFilled',
    title: '请登录测试动态路由'
}]
export {
    adminMenu,
    studentMenu,
    teacherMenu,
    defaultMean
};
